<ul>
<?php if ($sf_user->isAuthenticated()): ?>
  <?php include_partial('head/userMenu'); ?>
<?php else: ?>
  <?php include_partial('head/guestMenu'); ?>
<?php endif; ?>
</ul>

<center><h4><?php echo link_to('Logo, szperacz i menu', '@homepage'); ?></h4></center>

<?php echo form_tag('@search_for_plate', array('method' => 'get')); ?>
  <input type="text" name="q" value="<?php echo $sf_params->get('q'); ?>" />
  <?php echo button_to_function(__('search for plate (JS)'), "alert('x');"); ?>
  <input type="submit" value="<?php echo __('search for plate'); ?>" />
</form>
